package com.sgcc.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @BelongsProject: springcloud
 * @BelongsPackage: com.sgcc.service
 * @Author: LiMengshuai
 * @CreateTime: 2019-07-29 14:39
 * @Description: ${Description}
 */
@FeignClient(value = "service-provider",fallbackFactory = ServiceFallbackFactory.class)
public interface Service {

    @RequestMapping("/hello/{string}")
     String testFegin(@PathVariable("string") String string);
}
